package com.cc8w.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.cc8w.entity.TeacherPojo;
import com.cc8w.entity.UserPojo;
import com.cc8w.util.ReturnData;

@Repository("userMapper")
public interface  UserMapper {
	//给test表新增user数据
	void insertTest(UserPojo up);
	UserPojo queryUserOne(int id);
	TeacherPojo queryTeacherOne(int id);
	ReturnData queryTeacherOneByMap(int id);
	UserPojo queryUserByUserName(@Param("userName") String userName);
}
